/*这是实体类，和数据库里的每条数据类型一一对应。使用mybatisplus要加上tablename
* 而longbook插件省去了写getter和setter的步骤*/
package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("user")
@Data
public class User {
    @TableId(type= IdType.AUTO)
    private Integer id;
    private String name;
    private String identity;
    private String password;
    private String sex;
    private String phone;
    private String email;
    private String period;
    private String classid;
}
